package com.beilang.hotline.template.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.beilang.base.core.model.BaseModel;

@Entity
@Table(name = "ht_template")
public class TemplateModel extends BaseModel {

    private static final long serialVersionUID = 5211959037190937468L;

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "template_id")
    private Long templateId;

    @Column(name = "system_id")
    private Long sysId;

    @Column(name = "title")
    private String title;

    @Column(name = "template_name")
    private String templateName;

    @Transient
    private String sysName;


    @Column(name = "delete_ind")
    private String deleteInd = "N";

    @Column(name = "record_reason")
    private String recordReason;

    @Column(name = "record_remarks")
    private String recordRemarks;

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public Long getSysId() {
        return sysId;
    }

    public void setSysId(Long sysId) {
        this.sysId = sysId;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getSysName() {
        return sysName;
    }

    public void setSysName(String sysName) {
        this.sysName = sysName;
    }

    public String getDeleteInd() {
        return deleteInd;
    }

    public void setDeleteInd(String deleteInd) {
        this.deleteInd = deleteInd;
    }

    public String getRecordReason() {
        return recordReason;
    }

    public void setRecordReason(String recordReason) {
        this.recordReason = recordReason;
    }

    public String getRecordRemarks() {
        return recordRemarks;
    }

    public void setRecordRemarks(String recordRemarks) {
        this.recordRemarks = recordRemarks;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
